Skip to content

fix(id): hosted smoke expects schema v3 (#13680) - #13738

Open
dezren39 wants to merge 1 commit into
mainfrom
lane-code-f-13680-hosted-smoke-schema-v3
Open

dezren39 wants to merge 1 commit into
mainfrom
lane-code-f-13680-hosted-smoke-schema-v3

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Summary

Evidence

  • Reproduced before the fix: npm run smoke in pkgs/id/hosted-worker → schema_version:3, SMOKE FAILURES: 1.
  • After the fix: npm run smoke → SMOKE OK.
  • npm test → 124 pass, 0 fail.
  • git diff --check clean.

Merge Danger

Test-only change (one smoke expectation). Worker behaviour untouched.

Closes #13680

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-23T21:06:34Z",
    "session_id": "ses_e5df638130cffeAOIshWYzJoY1",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "7e7af3f72d05278760bc8cf5a64a45ffdb5edf6e"
    },
    "auth_subject": "oc-code-02",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Start Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Hypothesis confirmed: the smoke's state check still asserted schema
version 2 after #3818 bumped SCHEMA_VERSION to 3 in user-do.ts. The
unit test already pins 3. Reproduced locally with npm run smoke
(schema_version:3 vs 2, SMOKE FAILURES: 1); after the one-line
expectation and label change the smoke passes and npm test is 124/124.
The assertion stays exact so an un-announced bump still fails.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 46 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 17987f9f-f539-4f30-b0f4-b1b49ff6866e
Commits

Reviewing files that changed from the base of the PR and between dfd7d9e and 29c772a.

Files selected for processing: 1

  • pkgs/id/hosted-worker/smoke/smoke.mjs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39

Copy link
Copy Markdown
Member Author

Batch A disposition (lane code-i, task 21622): not merging — superseded by #13673 (commit 001a7ae on main), which fixed the same #13680 symptom by asserting the live SCHEMA_VERSION instead of a literal. This PR pins literal 3 with the old label; main already asserts body.schema_version === SCHEMA_VERSION in the same check, so a merge-main-in would discard this PR hunk entirely. No verification run (nothing of this PR would survive the resolution). Suggest closing in favour of #13673.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

main CI failure: developing-today/code — id hosted-worker tests workflow (run 45246964369)

1 participant